class RenameRatingsInStories < ActiveRecord::Migration
  def self.up
    rename_column :stories, :rating, :story_rating
    add_column :stories, :rating, :integer
  end

  def self.down
    rename_column :stories, :story_rating, :rating
    remove_column :stories, :rating, :integer
  end
end
